package com.haohan.stock.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "stock30")
public class Stock30 {

	@Id
	private String id;

	private String code;

	private String day;// 时间

	private double open;// 开盘价

	private double high;// 最高价

	private double low;// 最低价

	private double close;// 收盘价

	private double volume;// 交易量

	private double price5;// 5日均价

	private double price10;// 10日均价

	private double price20;// 20日均价

	private double price30;// 30日均价

	private double volume5;// 5日均量

	private double volume10;// 10日均量

	private double volume20;// 20日均量

	private double volume30;// 30日均量

	private double upward_momentum;// 上涨动力

	private boolean buy_point;// 买入点

	private boolean sell_point;// 卖出点

	public boolean isBuy_point() {
		return buy_point;
	}

	public void setBuy_point(boolean buy_point) {
		this.buy_point = buy_point;
	}

	public boolean isSell_point() {
		return sell_point;
	}

	public void setSell_point(boolean sell_point) {
		this.sell_point = sell_point;
	}

	public double getUpward_momentum() {
		return upward_momentum;
	}

	public void setUpward_momentum(double upward_momentum) {
		this.upward_momentum = upward_momentum;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public double getOpen() {
		return open;
	}

	public void setOpen(double open) {
		this.open = open;
	}

	public double getHigh() {
		return high;
	}

	public void setHigh(double high) {
		this.high = high;
	}

	public double getLow() {
		return low;
	}

	public void setLow(double low) {
		this.low = low;
	}

	public double getClose() {
		return close;
	}

	public void setClose(double close) {
		this.close = close;
	}

	public double getVolume() {
		return volume;
	}

	public void setVolume(double volume) {
		this.volume = volume;
	}

	public double getPrice5() {
		return price5;
	}

	public void setPrice5(double price5) {
		this.price5 = price5;
	}

	public double getPrice10() {
		return price10;
	}

	public void setPrice10(double price10) {
		this.price10 = price10;
	}

	public double getPrice20() {
		return price20;
	}

	public void setPrice20(double price20) {
		this.price20 = price20;
	}

	public double getPrice30() {
		return price30;
	}

	public void setPrice30(double price30) {
		this.price30 = price30;
	}

	public double getVolume5() {
		return volume5;
	}

	public void setVolume5(double volume5) {
		this.volume5 = volume5;
	}

	public double getVolume10() {
		return volume10;
	}

	public void setVolume10(double volume10) {
		this.volume10 = volume10;
	}

	public double getVolume20() {
		return volume20;
	}

	public void setVolume20(double volume20) {
		this.volume20 = volume20;
	}

	public double getVolume30() {
		return volume30;
	}

	public void setVolume30(double volume30) {
		this.volume30 = volume30;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
